Component({
  methods: {
    sidebarHandle() {
      wx.navigateTo({
        url: "/pages/navigation/sidebar/index",
        fail: (err) => {
          wx.showToast({
            title: `${err}`,
            icon: "error"
          });
        }
      });
    },

    tabsHandle() {
      wx.navigateTo({
        url: "/pages/navigation/tabs/index",
        fail: (err) => {
          wx.showToast({
            title: `${err}`,
            icon: "error"
          });
        }
      });
    }
  }
});